<?php
class output
{
	function style($title, $style = '')
	{
		$string = "$title";
		if($style)
		{
			list($color, $strong) = explode(',', $style);
			
			if($color){
				$string = "<font color=\"$color\">$string</font>";
			}
			if($strong){
				$string = "<strong>$string</strong>";
			}
		} 
		return $string;
		//return $style == '' ? $title : "<span class=\"$style\">$title</span>";
	}
}
?>